package cn.netswap.jeegorilla.framework.security.model;



import java.util.List;


public class  SysUser {
    private Long id;
    private String username;
    private String password;

    private List<SysPermission> sysPermissions;

    public SysUser() {
    }

    public SysUser(Long id, String username, String password, List<SysPermission> sysPermissions) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.sysPermissions = sysPermissions;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<SysPermission> getSysPermissions() {
        return sysPermissions;
    }

    public void setSysPermissions(List<SysPermission> sysPermissions) {
        this.sysPermissions = sysPermissions;
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", sysPermissions=" + sysPermissions +
                '}';
    }
}
